public class test {

    public static void main(String[] args) {
        HashBucket hashBucket=new HashBucket();
        hashBucket.put(1,0);
        hashBucket.put(2,2);
        hashBucket.put(3,4);
        hashBucket.put(4,5);
        hashBucket.put(14,0);
        hashBucket.put(24,3);
        hashBucket.put(7,7);
        hashBucket.put(8,8);
        System.out.println(hashBucket.pek(14,0));
        System.out.println(hashBucket.get(24));
        HashBucket2 hashBucket2= new HashBucket2();
        hashBucket2.put("西","r");
        hashBucket2.put("西游记","s");
        System.out.println(hashBucket2.pek("西","r"));
        System.out.println(hashBucket2.get("西游记"));
    }
}
